﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master" AutoEventWireup="true"
    CodeBehind="InvoiceResolved.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.ProcureManage.InvoiceResolved"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li><a href="InvoiceCheck.aspx">待审核发票</a></li>
            <li class="active"><a href="InvoiceResolved.aspx">已审核发票</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwInvoice" runat="server" AutoGenerateColumns="false" Width="100%"
        EmptyDataText="暂无已审核的发票！" OnRowDataBound="gvwInvoice_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="InvoiceID" HeaderText="发票编号" />
            <asp:BoundField DataField="InvoiceTime" HeaderText="发票时间" />
            <asp:BoundField DataField="TotalAmount" HeaderText="总金额" />
            <asp:BoundField DataField="DistributionCount" HeaderText="采购单数" />
            <asp:TemplateField HeaderText="审核状态">
                <ItemTemplate>
                    <asp:Literal ID="ltrStatus" runat="server" Text='<%# Eval("AuditStatus") %>'></asp:Literal>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <a href='InvoiceDetail.aspx?InvoiceSerialID=<%# Eval("InvoiceSerialID") %>'>详细</a>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
     <div class="page">
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
    </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示:<span> 需查看发票的详细信息时，请点击“详细”按钮。</span></li>
        </ul>
    </div>
</asp:Content>
